package com.zy.explore.sys.interfaces.frm;

import com.zy.explore.common.interfaces.frm.SortFieldFrm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * description 表(sys_role_menu)的请求参数Frm对象
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2022年02月01日 17:18:18
 */
@ApiModel("表(sys_role_menu)实体类查询Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RoleMenuQueryFrm {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", example = "'1'")
    private String id;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", example = "1")
    private Long roleId;

    /**
     * 菜单id
     */
    @ApiModelProperty(value = "菜单id", example = "1")
    private Long menuId;


    /**
     * 排序字段集合
     */
    @ApiModelProperty("排序字段集合")
    private List<SortFieldFrm> sortFields;

    /**
     * 分页查询参数，页码
     */
    @ApiModelProperty(value = "查询页", example = "1")
    private Integer pageNum;

    /**
     * 分页查询参数，每页数量
     */
    @ApiModelProperty(value = "每页数量", example = "10")
    private Integer pageSize;
}
